/*
 * @Author: jqgao2
 * @Date: 2022-10-25 09:54:40
 * @LastEditTime: 2022-10-25 09:54:57
 * @Description: 自动聚焦
 * @FilePath: \template\vue2tem\src\directives\focus.js
 * @LastEditors: jqgao2
 */

const focus = {
  inserted: function (el) {
    el.focus();
  },
};

export default focus;
